# RUN:     llvm-mc -triple aarch64-none-linux-gnu -disassemble -mattr=+v9.4a < %s      | FileCheck %s
# RUN: not llvm-mc -triple aarch64-none-linux-gnu -disassemble -mattr=+v8.8a < %s 2>&1 | FileCheck --check-prefix=NO-V94A-ERR %s
# RUN:     llvm-mc -triple aarch64-none-linux-gnu -disassemble -mattr=+v8.9a < %s      | FileCheck %s
# RUN: not llvm-mc -triple aarch64-none-linux-gnu -disassemble -mattr=+v9.3a < %s 2>&1 | FileCheck --check-prefix=NO-V94A-ERR %s

[0x20,0x20,0xc0,0xda]
# CHECK:   abs     x0, x1
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x20,0x20,0xc0,0x5a]
# CHECK:   abs     w0, w1
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x20,0x1c,0xc0,0xda]
# CHECK:   cnt     x0, x1
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x20,0x1c,0xc0,0x5a]
# CHECK:   cnt     w0, w1
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x20,0x18,0xc0,0xda]
# CHECK:   ctz     x0, x1
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x20,0x18,0xc0,0x5a]
# CHECK:   ctz     w0, w1
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding

[0x41,0x60,0xc3,0x9a]
# CHECK:   smax    x1, x2, x3
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x41,0x0c,0xc0,0x91]
# CHECK:   smax    x1, x2, #3
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x41,0x60,0xc3,0x1a]
# CHECK:   smax    w1, w2, w3
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x41,0x0c,0xc0,0x11]
# CHECK:   smax    w1, w2, #3
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x41,0x68,0xc3,0x9a]
# CHECK:   smin    x1, x2, x3
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x41,0x0c,0xc8,0x91]
# CHECK:   smin    x1, x2, #3
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x41,0x68,0xc3,0x1a]
# CHECK:   smin    w1, w2, w3
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x41,0x0c,0xc8,0x11]
# CHECK:   smin    w1, w2, #3
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x41,0x64,0xc3,0x9a]
# CHECK:   umax    x1, x2, x3
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x41,0x0c,0xc4,0x91]
# CHECK:   umax    x1, x2, #3
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x41,0x64,0xc3,0x1a]
# CHECK:   umax    w1, w2, w3
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x41,0x0c,0xc4,0x11]
# CHECK:   umax    w1, w2, #3
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x41,0x6c,0xc3,0x9a]
# CHECK:   umin    x1, x2, x3
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x41,0x0c,0xcc,0x91]
# CHECK:   umin    x1, x2, #3
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x41,0x6c,0xc3,0x1a]
# CHECK:   umin    w1, w2, w3
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
[0x41,0x0c,0xcc,0x11]
# CHECK:   umin    w1, w2, #3
# NO-V94A-ERR: [[@LINE-2]]:2: warning: invalid instruction encoding
